package thomas.bier.server;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public final class PersistenceManager {
    private static final EntityManagerFactory emfInstance =
        Persistence.createEntityManagerFactory("transactions-optional");

    private PersistenceManager() {}

    public static EntityManagerFactory get() {
        return emfInstance;
    }
}